package com.example.g7640.service;

import com.example.g7640.dto.AdminDto;
import com.example.g7640.entity.Administrator;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author
 * @since 2024-03-18
 */
public interface AdministratorService extends IService<Administrator> {

    Boolean add(Administrator administrator);

    Boolean setPassword(Administrator administrator);

    Boolean setName(Administrator administrator);

    List<AdminDto> getList();

    Administrator getInfo(Administrator administrator);

}
